package com.djl.rs.mapper;
import com.djl.rs.model.StaffSalary;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
/** 处理员工数据操作的持久层接口 */
@Mapper
public interface StaffSalaryMapper {
    List<StaffSalary> findSalaryBySid(Integer sid);
    StaffSalary findSalaryBySidMon(Integer sid,String month);
//    工资表的主键是id和month两个
    Integer deleteBySidMonth(Integer sid,String month);
    Integer updateBySidMonth(StaffSalary staffSalary);
}
